package com.itheima.service;

import com.itheima.mapper.EmployeeMapper;
import com.itheima.pojo.Employee;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author huangbin
 * @date 2022/6/8 16:21
 * 员工业务逻辑层
 */
@Service
public class EmployeeService {

    @Autowired
    private EmployeeMapper employeeMapper;

    /**
     * 登录
     * @return 员工对象
     */
    public Employee login(Employee employee){
       return employeeMapper.login(employee);
    }


}
